﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Idte.Academic.Assessment.Methods
{
    public class Answer<TParent> : Answer
    {
        [ForeignKey("ParentId")]
        public TParent Parent { get; set; }
        public int ParentId { get; set; }
    }
    public class Answer : IEvidenceType
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { get; set; }
        //public bool Correct { get; set; }
        public string Text { get; set; }
        public string Feedback { get; set; }
        public string Title { get; set; }
    }
}
